﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace F2B.Orchard.Schedule.Providers
{
    public class NullProvider: DateProvider
    {
        private static NullProvider _instance = null;
        public static NullProvider Instance
        {
            get
            {
                if (_instance == null) _instance = new NullProvider();
                return _instance;
            }
        }

        protected NullProvider() { }

        public override IEnumerable<DateTime> Over(DateTime start, DateTime end, bool reverse = false)
        {
            yield break;
        }
    }
}